﻿using Shell.DomainDot;
using Framework.Poco;
using System;
using System.Collections.Generic;

namespace Framework.Domain
{
    /// <summary>
    /// 广告链接的上下文
    /// </summary>
    public class SelectAdvertising : DomainDotBase
    {
        /// <summary>
        /// 所有广告
        /// </summary>
        public WithAll<Advertising> Advertisings { private get; set; }

        /// <summary>
        /// 获取所有广告
        /// </summary>
        public IEnumerable<Advertising> GetAll()
        {
            return this.Advertisings;
        }
    }
}
